.div1{
    background-color: aqua;
    width: 50%;
    height: 100px;
    margin: auto;
    padding-left: 20px;
    border-radius: 20px;
    position: relative;
    text-decoration: none;
}

.div1 p{
    position: relative;
    line-height: 100px;
}

.div1 span{
    position: absolute;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.div1:hover span{
    transform: translateX(500px);
}